package com.buka.feign;


import com.buka.entity.Result;
import com.buka.pojo.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "order")
public interface OrderFeign {
    @GetMapping("/order/findById")
    public Result<Order> findById(@RequestParam Long id);
}
